
from lamda.client import *

ip = [
    "192.168.18.102",
    "192.168.18.104",
    "192.168.18.105",
    "192.168.18.107",
    "192.168.18.109",
    "192.168.18.110",
    "192.168.18.111",
    "192.168.18.112",
    "192.168.18.113",
    "192.168.18.114",
    "192.168.18.115",
    "192.168.18.116",
    "192.168.18.117",
    "192.168.18.119",
    "192.168.18.120",
    "192.168.18.121",
    "192.168.18.122",
    "192.168.18.123",
    "192.168.18.124"
]
for i in ip:
    d = Device(i,65008)
    try:
        d.screenshot(100)
        print(f"[+]{i}设备没有问题")
    except Exception as e :
        print(f"[!]{i}设备连接异常：{e}")
